#include "sysdef.h"
#include "logger.h"
#include "cowwork.h"

void get_arg_params(int argc, char** argv);

int main(int argc, char* argv[])
{
    get_arg_params(argc, argv);

    CLog* log = GET_SYS_LOG();

    if(!sCowWork.Start("config.server"))
        return 0;

    LOG_NOTICE(log, "server start ok\n");

    while(1)
    {
        sleep_ms(1);
    }

    return 0;
}
